package com.qf.common.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2024-11-06 20:11:48
 */
@SuppressWarnings("serial")
@Data
@TableName("user")
@ApiModel(description = "用户实体类")
public class User extends Model<User> {

    @ApiModelProperty(name="id", value="用户id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户名
    @ApiModelProperty(name="username", value="用户名")
    private String username;

    //密码
    @ApiModelProperty(name="password", value="用户密码")
    private String password;

    //手机号
    @ApiModelProperty(name="phone", value="手机号")
    private String phone;

    //身份证号
    @ApiModelProperty(name="idNum", value="身份证号")
    private String idNum;

    //用户全名
    @ApiModelProperty(name="fullName", value="用户全名")
    private String fullName;

    //头像路径
    @ApiModelProperty(name="avatar", value="头像路径")
    private String avatar;

    //出生日期
    @ApiModelProperty(name="birth", value="出生日期")
    private Date birth;

    //性别
    @ApiModelProperty(name="gender", value="性别")
    private String gender;

    //地址
    @ApiModelProperty(name="address", value="地址")
    private String address;

    //户籍地址
    @ApiModelProperty(name="domicileAddress", value="户籍地址")
    private String domicileAddress;

    //行政分区
    @ApiModelProperty(name="region", value="行政分区")
    private String region;

    //邮箱
    @ApiModelProperty(name="email", value="邮箱")
    private String email;

    //用户类型
    @ApiModelProperty(name="userType", value="用户类型")
    private String userType;

    //籍贯
    @ApiModelProperty(name="origin", value="籍贯")
    private String origin;

    //民族
    @ApiModelProperty(name="ethnicity", value="民族")
    private String ethnicity;


    // 文化程度
    @ApiModelProperty(name="education", value="文化程度")
    private String education;

    //婚姻状况
    @ApiModelProperty(name="maritalStatus", value="婚姻状况")
    private String maritalStatus;

    @ApiModelProperty(name="occupation", value="职业")
    private String occupation;

    @ApiModelProperty(name="workUnit", value="工作单位")
    private String workUnit;

    @ApiModelProperty(name="emergencyContact", value="紧急联系人")
    private String emergencyContact;

    @ApiModelProperty(name="contactPhone", value="联系人电话")
    private String contactPhone;

    @ApiModelProperty(name="residenceType", value="户籍类型")
    private String residenceType;

    @ApiModelProperty(name="medicalUnit", value="定点医疗单位")
    private String medicalUnit;

    @ApiModelProperty(name="expenseType", value="费用类型")
    private String expenseType;

}

